package com.shop.shoppingmall.entity;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * (ShOrderAll)实体类
 *
 * @author makejava
 * @since 2020-11-13 16:48:05
 */
public class ShOrderAll implements Serializable {
    private static final long serialVersionUID = 997306822255128033L;
    /**
     * 主键
     */
    private String id;
    /**
     * 用户id
     */
    private String userId;
    /**
     * 总的订单号
     */
    private String orderNumAll;
    /**
     * 订单总金额
     */
    private BigDecimal orderPriceAll;
    /**
     * 订单状态(0 待付款 1 待发货 2 已发货 3 已完成 4 取消 5 换货售后 )
     */
    private String orderStatus;
    /**
     * 支付类型 1 余额 2 微信 3 支付宝
     */
    private String orderType;
    /**
     * 创建时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd",timezone="GMT+8")
    private Date creatTime;
    /**
     * 更新时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd",timezone="GMT+8")
    private Date updateTime;


    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getOrderNumAll() {
        return orderNumAll;
    }

    public void setOrderNumAll(String orderNumAll) {
        this.orderNumAll = orderNumAll;
    }

    public BigDecimal getOrderPriceAll() {
        return orderPriceAll;
    }

    public void setOrderPriceAll(BigDecimal orderPriceAll) {
        this.orderPriceAll = orderPriceAll;
    }

    public String getOrderStatus() {
        return orderStatus;
    }

    public void setOrderStatus(String orderStatus) {
        this.orderStatus = orderStatus;
    }

    public String getOrderType() {
        return orderType;
    }

    public void setOrderType(String orderType) {
        this.orderType = orderType;
    }

    public Date getCreatTime() {
        return creatTime;
    }

    public void setCreatTime(Date creatTime) {
        this.creatTime = creatTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

}